package cn.wolfcode.wms.domain;


import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

@Getter@Setter
public class Role extends BaseDomain {

    private String name;
    private String sn;

    //many2many这个是角色跟去权限的关系
    private List<Permission> permissions = new ArrayList<>();

    //many2many这个是角色跟菜单的关系
    private List<SystemMenu> systemMenus = new ArrayList<>();
}
